package com.hdoit.ares.web.insu.modelconfig;
import com.tennetcn.component.attribute.DateTimeAttribute;
import com.tennetcn.component.attribute.DisplayNameAttribute;
import com.tennetcn.component.attribute.base.ModelMetadataAttributeConfiguration;

/**
 * @author      caochengmeng
 * @email       
 * @createtime  2018年01月16日 14:22:20
 * @comment
 */
public class ZhonganRenewalConfig extends ModelMetadataAttributeConfiguration{
    public ZhonganRenewalConfig(){
        this.setProperty("policyNo")
            .hasAttribute(new DisplayNameAttribute("保单号"));
        
        this.setProperty("requestDate")
        	.hasAttribute(new DisplayNameAttribute("请求时间"))
        	.hasAttribute(new DateTimeAttribute());

        this.setProperty("expiryDate")
            .hasAttribute(new DisplayNameAttribute("保单止期"))
            .hasAttribute(new DateTimeAttribute());

        this.setProperty("orderTime")
            .hasAttribute(new DisplayNameAttribute("投保时间"))
            .hasAttribute(new DateTimeAttribute());

        this.setProperty("productName")
            .hasAttribute(new DisplayNameAttribute("产品名称"));

        this.setProperty("instanceCode")
            .hasAttribute(new DisplayNameAttribute("推广位code"));

        this.setProperty("instanceName")
            .hasAttribute(new DisplayNameAttribute("推广位名称"));

        this.setProperty("insureUrl")
            .hasAttribute(new DisplayNameAttribute("续保链接"));

    }
}